package cn.northsea.service;

import cn.northsea.common.Result;
import cn.northsea.entity.Seek;
import cn.northsea.entity.SeekDz;
import cn.northsea.entity.SeekUser;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.util.List;
public interface UserService extends IService<SeekUser> {
    Result psdLogin(SeekUser user, HttpServletResponse response);


    void addInformation(SeekUser user);

    SeekUser findJobByName(String username);

    SeekUser findUserById(Long userId);

    SeekUser findUserByName(String username);

    List<SeekUser> findAll();

    void register(SeekUser user);

    List<SeekDz> userfirend(Integer uid);

    SeekUser findByUserid(Integer toid);
}
